<div class="cms-content cms-tabset center $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">

	<div class="cms-content-header north">
		<div class="cms-content-header-info">
			<h2>
				<% include CMSSectionIcon %>
				$SectionTitle
			</h2>
		</div>
		<div class="cms-content-header-tabs cms-tabset-nav-primary ss-ui-tabs-nav">
			<ul>
				<li>
					<a href="#Sponsor" class="cms-panel-link"><%t NetworkAdmin.ss.SPONSOR "Sponsor" %></a>
				</li>
				<li>
					<a href="#Placement" class="cms-panel-link"><%t NetworkAdmin.ss.PLACEMENT "Placement" %></a>
				</li>
			</ul>
		</div>
	</div>

	<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
		<div id="Sponsor" data-default-link="$Link(root_data)" data-load-link="$Link(load_data)" data-member-link="$Link(sponsor_member_detail)" class="cms-panel-padded" role="tabpanel">
	        <div id="treemenu" class="jstree">
                <div class="field text">
		        	<input type="text" id="sponsor_search_text" value="" class="text" />
	                <a href="#" class="ss-ui-button" id="sponsor_clear_search"><%t NetworkAdmin.ss.BUTTONCLEAR "Clear" %></a>
	                <a href="#" class="ss-ui-button" id="sponsor_search"><%t NetworkAdmin.ss.BUTTONSEARCH "Search" %></a>
                </div>
                <a href="#" class="ss-ui-button" id="sponsor_refresh"><%t NetworkAdmin.ss.BUTTONREFRESH "Refresh" %></a>
                <a href="#" class="ss-ui-button" id="sponsor_open_all"><%t NetworkAdmin.ss.BUTTONOPENALL "Open All" %></a>
                <a href="#" class="ss-ui-button" id="sponsor_close_all"><%t NetworkAdmin.ss.BUTTONCLOSEALL "Close All" %></a>
	        </div>
	        <br />
	        <p>
	            <span class="Username tree-title"><%t NetworkAdmin.ss.USERNAME "Username" %></span> 
	            <span class="RankTitle tree-title"><%t NetworkAdmin.ss.MEMBER_TYPE "Member Type" %></span> 
	            <span class="StatusTitle tree-title"><%t NetworkAdmin.ss.STATUS "Status" %></span> 
	            <span class="JoinedDate tree-title"><%t NetworkAdmin.ss.JOINED "Joined" %></span> 
	            <span class="TotalSponsorDirectDownline tree-title"><%t NetworkAdmin.ss.TOTAL_DIRECT_SPONSOR "Total Direct Sponsor" %></span>
	            <span class="TotalSponsorGroupDownline tree-title"><%t NetworkAdmin.ss.TOTAL_SPONSOR_DOWNLINES "Total Sponsor Downlines" %></span>
	        </p>
	        <div id="sponsor_tree" class="tree-holder"></div>
		</div>
		<div id="Placement" class="cms-panel-padded" role="tabpanel">
	        <div class="field text">
	        	<label class="left" for="placement_search_text"><%t NetworkAdmin.ss.SEARCH_BY_USERNAME "Search Team Network By Username" %></label>
	        	<input type="text" id="placement_search_text" class="text" value="$Placement.Username" />
	        	<a href="#" class="ss-ui-button" id="placement_search_tree" data-link="$Link(build_tree)"><%t NetworkAdmin.ss.BUTTONSEARCH "Search" %></a>
	        </div>
	        <br />
	        <div id="placement_tree" data-view-team-button="<%t NetworkAdmin.ss.VIEW_TEAM_NETWORK_BUTTON "Click here to view team network" %>"></div>
		</div>
	</div>
	
</div>
